<?php
	class systemGlobals{
		// for links
		public static $currentRequest = null;
		// for view
		public static $folder = null;
		public static $file = null;
		public static $module = null;
		public static $moduleName = null;
		public static $viewParameters = null;
		// content checker
		public static function checkContent($path){
			$str = @file_get_contents($path);
			if ($str === FALSE) {
				throw new Exception("Cannot access '$path' to read contents.");
			} else {
				return $str;
			}
		}
	}